//
//  BuyTypeCell.m
//  预购清单
//
//  Created by  on 2022/10/16.
//

#import "BuyTypeCell.h"
@interface BuyTypeCell()
@property (strong, nonatomic) IBOutlet UIImageView *img;
@property (strong, nonatomic) IBOutlet UILabel *name;

@end
@implementation BuyTypeCell

- (void)awakeFromNib {
    [super awakeFromNib];
}
- (void)setModel:(PrepayType *)model{
    _model = model;
    self.img.image = _model ? [UIImage imageWithData:_model.img] : [UIImage imageNamed:@"设置"];
    self.name.text = _model ?LS(_model.name) : @"";
}
@end
